package com.caifu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 实验室检查记录表
 * </p>
 *
 * @author GZ
 * @since 2020-11-06
 */
public class YlLabResult extends Model<YlLabResult> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID（实验室检查记录表）
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 老人编号
     */
    @TableField("USER_NO")
    private String userNo;

    /**
     * 查房记录编号
     */
    @TableField("CHECK_NO")
    private String checkNo;

    /**
     * 实验室检查类型
     */
    @TableField("LAB_TYPE")
    private String labType;

    /**
     * 实验室检查结果
     */
    @TableField("LAB_RESULT")
    private String labResult;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    private String createTime;

    /**
     * 状态 1：正常 9删除
     */
    @TableField("STATUS")
    private String status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }
    public String getCheckNo() {
        return checkNo;
    }

    public void setCheckNo(String checkNo) {
        this.checkNo = checkNo;
    }
    public String getLabType() {
        return labType;
    }

    public void setLabType(String labType) {
        this.labType = labType;
    }
    public String getLabResult() {
        return labResult;
    }

    public void setLabResult(String labResult) {
        this.labResult = labResult;
    }
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "YlLabResult{" +
        "id=" + id +
        ", userNo=" + userNo +
        ", checkNo=" + checkNo +
        ", labType=" + labType +
        ", labResult=" + labResult +
        ", createTime=" + createTime +
        ", status=" + status +
        "}";
    }
}
